import { connect } from 'react-redux'
import {updateProfile} from '../actions'
import UpdateProfile from '../components/UpdateProfile'


const mapStateToProps = state => ({
    first_name: state.profile.first_name,
    last_name: state.profile.last_name,
    username: state.profile.username,
})




export default connect(
  mapStateToProps,
  {updateProfile}
)(UpdateProfile)

